package com.ittsang.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

@Data
public class RaceDTO {

    private Integer id;

    private String src;

    private String title;

    private Integer clubId;

    private String description;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String startTime;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private String endTime;

    private Integer userId;

    private Integer limitedNum;

    private Integer auditorId;

    private Integer status;

    private Integer raceTypeId;

    // 总共三个，0代表还未开始，1代表正在报名中，2代表已结束
    private Integer isStart;

}
